package com.ysy.logistics.entities.system;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

/**
 * @author 姚斯羽
 * @date 2025/4/17 21:05
 * @description: 角色通知
 */
@Data
@TableName("role_notice")
@Schema(name = "角色通知", description = "角色通知实体类")
public class RoleNotice {

    @TableId(value = "id", type = IdType.ASSIGN_UUID)
    @Schema(description = "id")
    private String id;

    @Schema(description = "角色id")
    @TableField(value = "role_id")
    private String roleId;

    @Schema(description = "通知code")
    @TableField(value = "notice_code")
    private Integer noticeCode;

}
